Platform Explorer / Nuxeo Platform 6.0

Contribution studio.extensions.template-module-demo--widgettypes

This contribution is part of XML component studio.extensions.template-module-demo inside nuxeo-template-rendering-samples-6.0.jar

Extension Point

Extension point widgettypes of component WebLayoutManager.

Contributed Items

  • <widgetType name="template_rendering_header">
          <configuration>
            <title>Header</title>
            <description>
              The header widget just displays the widget label.
            </description>
            <supportedModes>
              <mode>edit</mode>
              <mode>view</mode>
            </supportedModes>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <supportedTypes/>
              <defaultTypes/>
            </fields>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/template_rendering_header_widget.xhtml
          </property>
        </widgetType>

    The header widget just displays the widget label.

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="template_rendering_header">
      <configuration>
        <title>Header</title>
        <description>
          The header widget just displays the widget label.
        </description>
        <supportedModes>
          <mode>edit</mode>
          <mode>view</mode>
        </supportedModes>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <supportedTypes/>
          <defaultTypes/>
        </fields>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/template_rendering_header_widget.xhtml
      </property>
    </widgetType>
  </extension>